-module(class_Alpha).
-define(wooper_superclasses, []).

-define( wooper_construct_export, new/2, new_link/2, 
   synchronous_new/2, synchronous_new_link/2,
   synchronous_timed_new/2, synchronous_timed_new_link/2,
   remote_new/3, remote_new_link/3, remote_synchronous_new/3,
   remote_synchronous_new_link/3, remote_synchronous_timed_new/3,
   remote_synchronous_timed_new_link/3, construct/3 ).

-define(wooper_construct_parameters,Field1, Field2).
-define(wooper_method_export,method1/1,method2/2).

-include("wooper.hrl").

construct(State, ?wooper_construct_parameters) ->
    ?setAttributes(State, [ {field1,Field1}, {field2, Field2} ] ).


method1(State) ->
    ?wooper_return_state_result(State, {alpha, m1}).
method2(State) ->
    ?wooper_return_state_result(State, {alpha, m2}).
